<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.2/immutable.min.js"></script>
	<script>
		const im = Immutable;
		// const info = {
		// 	name: "dylan",
		// 	age:18,
		// 	friends:{
		// 		name: '111',
		// 		age:20
		// 	}
		// }
		// const imInfo = im.Map(info);
		// const obj = imInfo
		// const imInfo2 = imInfo.set("name","dylan1")
		// console.log(obj.get("name"))
		// console.log(imInfo2.get("name"))

		const names = ['abc','ccc','dddddddd']
		const namesIM = im.List(names)
		const arrIM = namesIM.set(0,'我是对的')
		console.log(namesIM.get(0))
		console.log(arrIM.get(0))

	</script>	
</body>
</html>